package com.bltec.emergency.service.recordService;

import com.bltec.emergency.model.RecordTrain;

import java.util.List;

public interface RecordTrainService {
    boolean add(RecordTrain recordTrain);

    boolean deleteTrainById(Long id);

    boolean updateTrainById(RecordTrain recordTrain);

    Long getIdByTrainName(String TrainName);

    RecordTrain getTrainById(Long id);

    RecordTrain getTrainByTrainName(String TrainName);

    List<RecordTrain> getAll();
}
